package edu.suda.xsap.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor()
@AllArgsConstructor()
@Builder
public class Log {
    private Integer id;
    private String loginName = "匿名"; //
    private String clientIp;
    private String url; //请求url
    private String method; // GET, POST, PUT, DELETE,...
    private LocalDateTime startTime; //请求进入的时间
    private long costTime; //本次请求花费时长
}
